* {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
    -webkit-tap-highlight-color: transparent;
}

ul,
ol {
    list-style: none;
}

a {
    text-decoration: none;
    color: #424242;
}

i,
em,
strong,
b,
u {
    font-style: normal;
    font-weight: 400;
    text-decoration: none;
}

input,
button,
textarea {
    border: none;
    outline: none;
}

.container {
    margin-top: 60px;
    margin-bottom: 60px;
    min-width: 375px;
    background: #F0F0F0;
}

/* 页面头部 */
.page-title {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 2;
    width: 100%;
    text-align: center;
    font-size: 18px;
    line-height: 60px;
    font-weight: 700;
    color: #FFF;
    background: #FF6040;
}

.page-title .arrow {
    position: absolute;
    top: 0;
    color: #FFF;
    font-family: '宋体';
    font-style: normal;
}
.page-title .arrow-left{
    left: 10px;
}
.page-title .arrow-right{
    right: 10px;
}

.top {
    background: linear-gradient(to bottom, #ff6040, #ff897e);
}

.header {
    position: relative;
    
    display: flex;
    justify-content: space-between;
    padding: 10px;
}

.price {
    color: red;
}

.market-price {
    text-decoration: line-through;
}


/* 商品列表 */
.goodslist {
    margin-top: 60px;
    margin-bottom: 60px;
}

.goodslist .item {
    display: flex;
    position: relative;
    padding: 5px;
    box-shadow: 0 0 2px 1px #DDD;
    margin: 10px 15px;
}

.goodslist .item img {
    width: 220px;
    height: 220px;
}

.goodslist .item div {
    padding: 10px;
}

.goodslist .item .price {
    color: red;
    font-weight: 700;
    line-height: 30px;
    font-size: 20px;
    letter-spacing: 2px;
}

.goodslist .item .market-price {
    line-height: 30px;
    color: #999;
    text-decoration: line-through;
}

.goodslist .item .btn-cart {
    border: 0;
    background: #fea30f;
    padding: 6px;
    border-radius: 4px;
    position: absolute;
    bottom: 5px;
    right: 20px;
    color: #fff;
}


/* 底部导航 */
.tabbar {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 60px;
    text-align: center;
    display: flex;
    background: #FFF;
    border-top:1px solid #ddd;
}

.tabbar .icon {
    flex: 1;
    width: 40px;
    height: 60px;
    margin: auto;
    padding-top:35px;
    text-align: center;
    cursor: pointer;
    color:#333;
    position: relative;
}

.tabbar .icon-home {
    background: url('../imgs/icon/tabbar/home.png') no-repeat center 8px;
}

.tabbar .router-link-active.icon-home {
    background: url('../imgs/icon/tabbar/home-active.png') no-repeat center 8px;
}

.tabbar .icon-cate {
    background: url('../imgs/icon/tabbar/cate.png') no-repeat center 8px;
}

.tabbar .router-link-active.icon-cate {
    background: url('../imgs/icon/tabbar/cate-active.png') no-repeat center 8px;
}

.tabbar .icon-cart {
    background: url('../imgs/icon/tabbar/cart.png') no-repeat center 8px;
}

.tabbar .router-link-active.icon-cart {
    background: url('../imgs/icon/tabbar/cart-active.png') no-repeat center 8px;
}

.tabbar .icon-user {
    background: url('../imgs/icon/tabbar/user.png') no-repeat center 8px;
}

.tabbar .router-link-active.icon-user {
    background: url('../imgs/icon/tabbar/user-active.png') no-repeat center 8px;
}

.badge{
    border-radius:10px;
    background: #ff6040;
    color:#FFF;
    position: absolute;
    top:0;
    left:50%;
    transform: translateX(50%);
    padding: 2px 4px;
}